//
//  GameLayer.h
//  CarDemo
//
//  Created by huang kun on 8/9/10.
//  Copyright 2010 UESTC. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"
#import "CurrentBlock.h"
#import "Constant.h"
#import "Block.h"
#import "Map.h"
#import "Spade.h"

@interface GameLayer : CCLayer <SetBlockDelegate,BlockDelegate,SpadeDelegate>{
	CurrentBlock *currBlock;
	NextBlock *nextBlock;
	Spade *spade;
	CCSprite *car;
	
	Map *map;
	int time;
	int maxTime;
	int gold;
}
@property int gold;

- (void) loadBlock;
- (void) check;
@end
